package com.example.springaop.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/user")
@RestController
public class UserController {

    @RequestMapping("/getuser")
    public String getUser() {
        System.out.println("do getuser");
        return "user";
    }

    @RequestMapping("/deluser")
    public String delUser() {
        return "del user";
    }
}
